package com.ai.platform.core.annotation;

import java.lang.annotation.*;

/**
 * Created by yeyingsheng on 2018/4/23.
 * 服务注解
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface InvokeService {

    /**
     * 服务名
     * @return
     */
    String serviceName() default "";

    /**
     * 方法名
     * @return
     */
    String method() default "";
}
